#include<iostream>
#include<string>

using namespace std;

int Add( int n1, int n2 )
{
	return n1 + n2;
}

void aFun2( void ); 
void aFun3( void );
void aFun4( void ); 
void aFun5( void );

void aFun1( void ) 
{ 
	aFun2();
}

void aFun2( void ) 
{
	aFun3(); 
}

void aFun3( void ) 
{
	aFun4();
}

void aFun4( void ) 
{ 
	aFun5();
}

void aFun5( void ) 
{ 

}

int main( int argc, const char **vArgs )
{

	char bits = 0;

	bits = 0xFF;

	bits = 0xfe;

	cout << (int)bits;

	return 0;

	bool bBool = false;
	int counter = 1;

	while ( true )
	{
		cout << counter << endl;
	}

	aFun1();

	//cout << sizeof(vArgs) / sizeof(*vArgs);

	for ( int i = 0; i < argc; ++i )
		cout << vArgs[i] << endl;

	//system("pause");
	//return 0;


	int *pN = NULL;

	if (pN)
		*pN = 5;

	pN = new int;

	if (pN)
		*pN = 5;

	if (pN)
	{
		delete pN;
		pN = NULL;
	}

	if (pN)
		*pN = 10;
	
	cout << Add( 1, 2 );

	
	const char *pStr = "Hello World";
	const char *pStr2 = "String 2";
	const char *pStr3 = "String 3";
	const char *pStr4 = "String 4";
	const char *pStr5 = "String 5";

	char name[5] = "Poop";
	char *pName = name;

	const char *ArrPtr[5] = {
		pStr, pStr2, pStr3, pStr4, pStr5
	};
	const char **arrPtr2 = ArrPtr;

	cout << pStr << endl;

	cout << "Enter your name: ";
	cin >> name;

	system("cls");

	cout << "You name is: " << name << endl;

	return 0;
}